/**
 * Copyright (C), 2019-2020, 宇信融汇
 * FileName: LockDoor
 * Author:   xbliu
 * Date:     2020/6/29 11:06
 * Description: 实现父类和lock接口实现对象的方法
 * History:
 * <author>          <time>          <version>          <desc>
 * xbliu           修改时间           版本号              描述
 */
package c_007.interfacedemo;

/**
 * @Classname LockDoor
 * @Description TODO
 * @Date 2020/6/29 11:06
 * @Created by xbliu
 */
public class LockDoor extends Door implements Lock {
    @Override
    public void openDoor() {
        System.out.println("打开门");
    }

    @Override
    public void closeDoor() {
        System.out.println("关闭门");
    }

    @Override
    public void closeLock() {
        System.out.println("关闭锁");
    }

    @Override
    public void openLock() {
        System.out.println("打开锁");
    }
}
